//
//  WYBusinessRecommendCell.m
//  Boss
//
//  Created by admin on 2018/6/25.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYBusinessRecommendCell.h"
@interface WYBusinessRecommendCell()
@property (strong, nonatomic) IBOutlet UIImageView *brandImageView;
@property (strong, nonatomic) IBOutlet UILabel *companyName;
@property (strong, nonatomic) IBOutlet UILabel *priceLabel;
@property (strong, nonatomic) IBOutlet UILabel *browseLabel;


@end

@implementation WYBusinessRecommendCell
-(void)setBusiness:(WYBusinessOpportunity *)business
{
    _business = business;
    self.companyName.text = business.businessName;
    self.priceLabel.text = business.investmentAmounts;
    [self.brandImageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@!default",business.url]] placeholderImage:[UIImage imageNamed:@"bussiness_placehodel"]];
    self.browseLabel.text = [NSString stringWithFormat:@"  %@人浏览",business.browseNum];
    
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
